from django.db import models
from utils.Base_model import Base


class OauthUser(Base):
    uid = models.CharField('外部用户id', max_length=64)  # 微博, qq,  微信的uid
    user = models.ForeignKey('user.User', on_delete=models.CASCADE)

    class Meta:
        db_table = 'tb_oauth'